package com.woniu.atms.util;

/**
 * @author 张奇
 * @title: Code
 * @projectName wn_sb_rbac12-21
 * @description: TODO
 * @date 2021/12/22 17:01
 */
public enum Code {
    SUCCESS(200),
    FAIL(400),
    /*token错误*/
    TOKEN_ERROR(401),
    FROM_ERROR(402),
    ERROR(500)
    ;

    private final int code;

    Code(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
